package com.itheima.manager;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.domain.PmsProductAttributeCategory;
import com.itheima.service.db.PmsProductAttributeCategoryService;
import com.itheima.util.R;
import com.itheima.vo.PageBeanVo;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Component;

@Component
public class PmsProductAttributeCategoryManager {


    @DubboReference
    PmsProductAttributeCategoryService pmsProductAttributeCategoryService;


//    public R getList(Integer pageSize, Integer pageNum) {
//        Page<PmsProductAttributeCategory> page = pmsProductAttributeCategoryService.getList(pageSize, pageNum);
//        return R.success(new PageBeanVo(pageNum,pageSize, page.getTotal(),page.getRecords()));
//    }
}
